package com.fang.mapper;

import com.fang.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Fang Ruichuan
 * @since 2022-08-27
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<Long> getNavMenuIds(@Param("userId") Long userId);

    List<SysUser> listByMenuId(@Param("menuId") Long menuId);
}
